export function navigateTo( url , data ){
		uni.navigateTo({
			url:url
		})
		data = JSON.stringify( data );
		uni.setStorageSync( url , data )
}


export function switchTab( url , data ){
	data = JSON.stringify( data );
	uni.setStorageSync( url , data )
	uni.switchTab({
		url:url
	})
}